package com.dkm.biz.gl.persistence.dao.impl;
import org.springframework.stereotype.Repository;

import com.dkm.base.db.mybatis.dao.MyBatisQueryDaoImpl;
import com.dkm.biz.gl.persistence.dao.GlSwiftQueryDao;
import com.dkm.biz.gl.persistence.entity.GlSwiftPo;

/**
 * 对象功能:流水号 QueryDao接口的实现
 * 开发公司:SKG.COM
 * 开发人员:RuanYangFa
 * 创建时间:2015-01-20 10:32:40
 */
@Repository
public class GlSwiftQueryDaoImpl extends MyBatisQueryDaoImpl<String, GlSwiftPo> implements GlSwiftQueryDao{

    @Override
    public String getNamespace() {
        return GlSwiftPo.class.getName();
    }
	
	public GlSwiftPo getBySwiftKey(String key) {
		return getByKey("getBySwiftKey", b().a("key", key).p());
	}
	
}
